package cn.findviewbydream.exception;

/**********************************
 * 工程：who
 * 作者：白雨濃 evil
 * 时间：2017/4/9 15:00
 * 邮箱：evilbai@foxmail.com
 * 内容：登录Exception
 **********************************/
public class BaseException extends RuntimeException
{
    private Integer code;

    public BaseException(Integer code, String message)
    {
        super(message);
        this.code = code;
    }

    public Integer getCode()
    {
        return code;
    }

    public void setCode(Integer code)
    {
        this.code = code;
    }

}
